package com.example.demo3.entity.VO;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * goodss对象 goods
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long gid;

    /** 分类ID */
    private Long cid;

    /** 商品名称 */
    private String gname;

    /** 商品图片 */
    private String gimg;

    /** 商品编号 */
    private String gsn;

    /** 原价 */
    private BigDecimal price;

    /** 促销价 */
    private BigDecimal saleprice;

    /** 商品描述 */
    private String description;

    /** 商品标题 */
    private String detailtitle;

    /** 库存数量 */
    private BigDecimal stock;

    /** 低库存阈值 */
    private String lowstock;

    /** 单位 */
    private String unit;

    /** 商品重量 */
    private BigDecimal weight;

    /** 发布状态 */
    private Long publishstate;

    /** 赠送积分 */
    private Long giftpoint;

    /** 审核状态 */
    private Long verifystate;

    /** 送达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sendtime;

    /** 销售数量 */
    private Long salesnum;

    /** 销售总额 */
    private Long sumsales;

    /** 备注 */
    private String note;

    /** 排序序号 */
    private Long sort;

    public void setGid(Long gid) 
    {
        this.gid = gid;
    }

    public Long getGid() 
    {
        return gid;
    }
    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setGname(String gname) 
    {
        this.gname = gname;
    }

    public String getGname() 
    {
        return gname;
    }
    public void setGimg(String gimg) 
    {
        this.gimg = gimg;
    }

    public String getGimg() 
    {
        return gimg;
    }
    public void setGsn(String gsn) 
    {
        this.gsn = gsn;
    }

    public String getGsn() 
    {
        return gsn;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setSaleprice(BigDecimal saleprice) 
    {
        this.saleprice = saleprice;
    }

    public BigDecimal getSaleprice() 
    {
        return saleprice;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDetailtitle(String detailtitle) 
    {
        this.detailtitle = detailtitle;
    }

    public String getDetailtitle() 
    {
        return detailtitle;
    }
    public void setStock(BigDecimal stock) 
    {
        this.stock = stock;
    }

    public BigDecimal getStock() 
    {
        return stock;
    }
    public void setLowstock(String lowstock) 
    {
        this.lowstock = lowstock;
    }

    public String getLowstock() 
    {
        return lowstock;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setPublishstate(Long publishstate) 
    {
        this.publishstate = publishstate;
    }

    public Long getPublishstate() 
    {
        return publishstate;
    }
    public void setGiftpoint(Long giftpoint) 
    {
        this.giftpoint = giftpoint;
    }

    public Long getGiftpoint() 
    {
        return giftpoint;
    }
    public void setVerifystate(Long verifystate) 
    {
        this.verifystate = verifystate;
    }

    public Long getVerifystate() 
    {
        return verifystate;
    }
    public void setSendtime(Date sendtime) 
    {
        this.sendtime = sendtime;
    }

    public Date getSendtime() 
    {
        return sendtime;
    }
    public void setSalesnum(Long salesnum) 
    {
        this.salesnum = salesnum;
    }

    public Long getSalesnum() 
    {
        return salesnum;
    }
    public void setSumsales(Long sumsales) 
    {
        this.sumsales = sumsales;
    }

    public Long getSumsales() 
    {
        return sumsales;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

}
